/*开发环境*/

const merge = require('webpack-merge');
const common = require('./webpack.common');
const path = require('path');
const webpack = require('webpack');

module.exports = merge(common,{
    devtool:'inline-source-map',
    devServer:{
        port:9000,//本地服务端口号
        historyApiFallback:true,
        contentBase:path.join(__dirname,'./dist'),//设置基础路径？
        inline:true,
    },
    plugins:[
        new webpack.HotModuleReplacementPlugin()
    ]
})

